import dayjs from 'dayjs';

export const parseSecretKeyFormat = 'YYYY-MM-DD HH';//解析接口加密密钥
export const parseSecretKeyTime = () => dayjs(Date.now()).format(parseSecretKeyFormat) + ':00:00';
export const isDev = process.env.NODE_ENV === 'development';

export const TABLE_PREFIX = 'yh_'; //这里定义表名前缀为 "yh_"
// export const parseSecretKeyFormat = "YYYY-MM-DD HH:mm";//解析接口加密密钥
// export const parseSecretKeyTime = () => dayjs(Date.now()).format(parseSecretKeyFormat) + ":00";